Optimal. Leaf size=12 \[ (a-b) \tan ^{-1}(x)+b x \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {388, 203} \[ (a-b) \tan ^{-1}(x)+b x \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 203
Rule 388
Rubi steps
\begin {align*} \int \frac {a+b x^2}{1+x^2} \, dx &=b x-(-a+b) \int \frac {1}{1+x^2} \, dx\\ &=b x+(a-b) \tan ^{-1}(x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 12, normalized size = 1.00 \[ (a-b) \tan ^{-1}(x)+b x \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.44, size = 12, normalized size = 1.00 \[ b x + {\left (a - b\right )} \arctan \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.35, size = 12, normalized size = 1.00 \[ b x + {\left (a - b\right )} \arctan \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 14, normalized size = 1.17 \[ a \arctan \relax (x )+b x -b \arctan \relax (x ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 2.29, size = 12, normalized size = 1.00 \[ b x + {\left (a - b\right )} \arctan \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.08, size = 12, normalized size = 1.00 \[ b\,x+\mathrm {atan}\relax (x)\,\left (a-b\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [C] time = 0.16, size = 26, normalized size = 2.17 \[ b x - \frac {i \left (a - b\right ) \log {\left (x - i \right )}}{2} + \frac {i \left (a - b\right ) \log {\left (x + i \right )}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________